@left-width: 200px;
@tab-padding: 18px;

.wea-edc-header.edc-ad-header {
    text-align: center;

    .logo {
        float: left;
        width: @left-width;
        text-align: left;
        padding-left: 20px;
    }

    .header-right {
        margin-right: @left-width;
        position: relative;

        .edc-header-btns {
            position: absolute;
            display: none;
            height: 100%;
            left: @left-width;

            &>a {
                color: #fff;
                opacity: 0.5;
                font-size: 24px;
                padding: 0px 8px;

                &:hover,
                &.active {
                    opacity: 1;
                }
            }

            .wea-upload {
                display: inline-block;
                vertical-align: middle;
                margin-top: -21px;
                .wea-upload-container {
                    height: auto;
                    line-height: normal;
                    &>span {
                        vertical-align: middle;
                        &>span{
                                &>a{
                                color: #fff;
                                opacity: 0.5;
                                font-size: 24px;
                                padding: 0px 8px;
                                &:hover,
                                &.active {
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }
                
            }


        }

        &>ul {
            width: 100%;
        }

        li {
            position: relative;
            display: inline-block;
            cursor: pointer;
            padding: 0 @tab-padding;

            &:hover {
                opacity: .8;
            }

            &.active {
                &:before {
                    content: "";
                    position: absolute;
                    display: block;
                    height: 3px;
                    left: @tab-padding;
                    right: @tab-padding;
                    background: #fff;
                    bottom: 0;
                }
            }

            &.with-down:after {
                content: "\E9D3";
                position: absolute;
                display: block;
                top: 0px;
                right: 0px;
                font-family: icon-coms !important;
            }

            .sub-menu {
                position: absolute;
                z-index: 1000;
            }
        }
    }

    .logo-right {
        position: absolute;
        right: 0;
        top: 0;
        width: 200px;
        padding-right: 20px;
        text-align: right;
        cursor: pointer;
    }
}

.edc-drop-menu-wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;

    .edc-drop-menu-popu {
        position: absolute;
        border-radius: 4px;
        z-index: 1050;
        background: #fff;

        .menu {
            -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
            box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
            min-width: 240px;
            background: #fff;

            .menu-item {
                position: relative;
                line-height: 32px;
                height: 32px;
                padding: 0px @tab-padding;
                cursor: pointer;

                &:hover,
                &.active {
                    color: #2db7f5;
                }

                .menu-item-opts {
                    display: none;
                    right: @tab-padding;
                    position: absolute;
                    top: 0px;

                    i {
                        margin-left: 10px;
                    }
                }

                .defaultshow {
                    display: block;
                    right: 60px;
                    position: absolute;
                    top: 0px;
                    width: 35px;
                }

                &:hover {
                    .menu-item-opts {
                        display: block;
                    }
                }
            }
        }

        .menu-hidden {
            display: none;
        }
    }
}